package com.dexilaonian.bean;

import java.util.List;

/**
 * Created by Administrator on 2018/6/20.
 */

public class SaleOrderBean {


    /**
     * refNo : 1529895657925
     * productDetail : [{"productId":23,"picUrl":"http://dxccmc.com/ccmc/avatar/12a531c6-a3e5-402e-a306-db19c47ddc57.jpg","productName":"商城商品P00001","pspec":"红色","price":200,"quantity":1}]
     * orderPrice : 共1件商品 合计：￥200.00 (含运费0.00)
     * order_id : 03f44eb9-f503-4a55-aa52-38959dfef5d2
     * status : 等待付款
     */

    private String refNo;
    private String orderPrice;
    private String order_id;
    private String status;
    private List<ProductDetailBean> productDetail;

    public String getRefNo() {
        return refNo;
    }

    public void setRefNo(String refNo) {
        this.refNo = refNo;
    }

    public String getOrderPrice() {
        return orderPrice;
    }

    public void setOrderPrice(String orderPrice) {
        this.orderPrice = orderPrice;
    }

    public String getOrder_id() {
        return order_id;
    }

    public void setOrder_id(String order_id) {
        this.order_id = order_id;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public List<ProductDetailBean> getProductDetail() {
        return productDetail;
    }

    public void setProductDetail(List<ProductDetailBean> productDetail) {
        this.productDetail = productDetail;
    }

    public static class ProductDetailBean {
        /**
         * productId : 23
         * picUrl : http://dxccmc.com/ccmc/avatar/12a531c6-a3e5-402e-a306-db19c47ddc57.jpg
         * productName : 商城商品P00001
         * pspec : 红色
         * price : 200.0
         * quantity : 1
         */

        private int productId;
        private String picUrl;
        private String productName;
        private String pspec;
        private double price;
        private int quantity;

        public int getProductId() {
            return productId;
        }

        public void setProductId(int productId) {
            this.productId = productId;
        }

        public String getPicUrl() {
            return picUrl;
        }

        public void setPicUrl(String picUrl) {
            this.picUrl = picUrl;
        }

        public String getProductName() {
            return productName;
        }

        public void setProductName(String productName) {
            this.productName = productName;
        }

        public String getPspec() {
            return pspec;
        }

        public void setPspec(String pspec) {
            this.pspec = pspec;
        }

        public double getPrice() {
            return price;
        }

        public void setPrice(double price) {
            this.price = price;
        }

        public int getQuantity() {
            return quantity;
        }

        public void setQuantity(int quantity) {
            this.quantity = quantity;
        }
    }
}
